#include "Complex.h"

	Complex::Complex(){
		(*this).real = 1.0;
		(*this).imag = 1.0;
	} // this este un pointer spre obiectul curent
	Complex::Complex(double real, double imag){
		(*this).real = real;
		(*this).imag = imag;
	}
	Complex Complex::operator+(Complex z){
		double re,im;
		re = (*this).real + z.getReal();
		im = (*this).imag + z.getImag();
		Complex s = Complex(re, im);
		return s;
	}
	double Complex::getReal(){
		return (*this).real;
	}
	double Complex::getImag(){
		return (*this).imag;
	}
	void Complex::setReal(double re){
		(*this).real = re;
	}
	void Complex::setImag(double im){
		(*this).imag = im;
	}
	Complex Complex::operator+(Complex z){
		(*this).real += z.real;		
		(*this).imag += z.imag;
	}
	Complex Complex::operator-(Complex z){
		(*this).real -= z.real;
		(*this).imag -= z.imag;
	}
	Complex Complex::operator-(double x){
		(*this).real += x;
	}
	Complex Complex::operator+(double x){
	}
	bool Complex::operator<(Complex z){
				
	}
	bool Complex::operator<(double x){
	}
	bool Complex::operator<=(Complex z){
	}
	bool Complex::operator<=(double x){
	}
	bool Complex::operator>(Complex z){
	}
	bool Complex::operator>(double x){
	}
	Complex Complex::operator*(Complex z){
	}
	Complex Complex::operator*(double x){
	}
	Complex Complex::operator/(Complex z){
	}
	Complex Complex::operator/(double x){
	}
	Complex Complex::operator^(Complex z){
	}
	Complex Complex::operator^(double x){
	}
	Complex Complex::sqrt(){
	}
	Complex Complex::sqrt(int y){
	}
	Complex Complex::operator++(){
	}
	Complex Complex::operator--(){
	}

